// 正则表达式

// 用户名正则：只能由数字、字母组成，且必须在8~10位
export const USERNAME_REG_EXP = /^[a-zA-Z0-9]{8,10}$/
export const EMAIL_REG_EXP = /^\w{1,18}@[a-z0-9]+(\.[a-z]{2,4})+$/i
export const ID_CARD_REG_EXP = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/
export const PHONE_NUMBER_REG_EXP = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/
